import { _decorator, Component, Node, Label } from 'cc';
import { SysContant } from './constant/SysContant';
const { ccclass, property } = _decorator;

@ccclass('ScoreMgr')
export class ScoreMgr extends Component {
    start() {

    }

    update(deltaTime: number) {
        
    }

    showScore() {
        this.node.getComponent(Label).string = SysContant.inst.gameScore + ''
    }
}


